package cn.edu.scau.cmi.lijiongtao.client;

import cn.edu.scau.cmi.lijiongtao.database.Login;
import javafx.application.Application;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;

public class TutorSystemClient extends Application {
	public static void main(String[] args) {
		launch(args);
	}
	
	@Override
	public void start(Stage stage) throws Exception {
		stage.setTitle("实验六：实例分析与数据库设计");
		stage.setHeight(300);
		stage.setWidth(400);
		BorderPane borderPane = new BorderPane();
		
		Login login = new Login();
		login.setAlignment(Pos.CENTER);
		login.setPadding(new Insets(5, 10, 5, 10));
		login.setHgap(5);
		login.setVgap(5);
		borderPane.setCenter(login);
		
		Scene scene = new Scene(borderPane);
		stage.setScene(scene);
		stage.show();
	}

}
